class DataListBean {
  String title;
  String subTitle;
  String appRouteUrl;
  String date;
  String iconUrl;
  String pageTitle;
  int unReadNum;

  DataListBean({this.title = "", this.subTitle = "", this.appRouteUrl = "", this.date = "", this.iconUrl = "", this.pageTitle = "", this.unReadNum = 0});

  DataListBean.fromJson(Map<String, dynamic> json) {    
    this.title = json['title'] ?? "";
    this.subTitle = json['subTitle'] ?? "";
    this.appRouteUrl = json['appRouteUrl'] ?? "";
    this.date = json['date'] ?? "";
    this.iconUrl = json['iconUrl'] ?? "";
    this.pageTitle = json['pageTitle'] ?? "";
    this.unReadNum = json['unReadNum'] ?? 0;
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['title'] = this.title;
    data['subTitle'] = this.subTitle;
    data['appRouteUrl'] = this.appRouteUrl;
    data['date'] = this.date;
    data['iconUrl'] = this.iconUrl;
    data['pageTitle'] = this.pageTitle;
    data['unReadNum'] = this.unReadNum;
    return data;
  }
}
